package com.ruoyi.project.product.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * 试剂订单试剂类型详细数量对象 ins_reagent_order_list_detail
 *
 * @author taney
 * @date 2020-11-23
 */
@Data
@ToString
@EqualsAndHashCode
@NoArgsConstructor
@Accessors(chain = true)
@TableName("ins_reagent_order_list_detail")
public class InsReagentOrderListDetail implements Serializable {

    private static final long serialVersionUID = 1L;
    /**
     * 订单详细ID
     */
    @TableId(value = "list_detail_id", type = IdType.AUTO)
    private Long listDetailId;

    /**
     * 订单ID
     */
    private Integer orderId;
    /**
     * 订单详细ID
     */
    private Integer orderListId;

    /**
     * 试剂类型
     */
    private String reagentType;

    /**
     * 计划数量
     */
    @Excel(name = "计划数量")
    private Integer amount;
    /**
     * 生产数量
     */
    @Excel(name = "生产数量")
    private Integer productAmount;
    /**
     * 装量
     */
    @Excel(name = "装量")
    private double reagentVolume;
    /**
     * 配制日期
     */
    @Excel(name = "配制日期", width = 30, dateFormat = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date createTime;

    /**
     * 批号
     */
    @Excel(name = "批号")
    private String lotNo;

    /**
     * 有效期
     */
    @Excel(name = "有效期", width = 30, dateFormat = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date expireDate;

    /**
     * 包装瓶类型
     */
    @Excel(name = "包装瓶类型")
    private String bottleType;
    /**
     * 包装瓶类型编号
     */
    @Excel(name = "包装瓶类型编号")
    private String bottleTypeSerialNo;

    /**
     * 分装装量
     */
    @Excel(name = "分装装量")
    private double productVolume;
    /**
     * 机型
     */
    @Excel(name = "机型")
    private String machineType;
    /**
     * 试剂表单ID
     */
    private Integer reagentFormId;

}
